package com.bootdo.wx.service;

import com.bootdo.common.utils.R;
import com.bootdo.wx.domain.MemberCouponDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 用户优惠券
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-13 15:54:40
 */
public interface MemberCouponService {
	
	MemberCouponDO get(String id);
	
	List<MemberCouponDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberCouponDO memberCoupon);
	
	int update(MemberCouponDO memberCoupon);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<Map<String,Object>> getNewCoupon(Map<String, Object> map);

	PageInfo<Map<String,Object>> getMyCouponList(Map<String, Object> map);

	R getMemberCouponList(Map<String, Object> map);

	R saveCoupon(List<Map<String, Object>> mapList);

}
